#pragma once
class VertexObject {
public:
	VertexObject(float* vertices, unsigned int size);
	VertexObject(float* vertices, unsigned int size, unsigned int* indices, unsigned int indeices_size);
	void DrawTriangles();
	static VertexObject* CreateVertexObject(float* vertices, unsigned int size);
private:
	unsigned int VAO, VBO, EBO;
	unsigned int size;
};